wcbel\classes\controllers\WCBEL_Ajax D

Total Complexity 246
Dependencies 17
Dependents 1
Total lines 1,154
Lines of code 997
Logical lines of code 540
Comment lines 0
Methods 40
Properties 3

Methods 40

Method Rating Maintainability Complexity Lines of code
set_products_variations()
C
33 27 87
delete_products_variations()
B
43 19 44
get_product_variations()
B
36 17 72
delete_products()
B
39 17 62
save_column_profile()
A
41 12 57
get_product_variations_for_attach()
A
46 10 35
history_change_page()
A
47 10 32
add_product_attribute()
A
47 9 32
product_edit()
A
43 7 47
column_manager_add_field()
A
55 8 16
get_text_editor_content()
S
51 7 25
duplicate_product()
S
55 7 18
column_manager_get_fields_for_edit()
S
50 5 28
save_history_for_delete()
S
52 5 25
get_products_name()
S
52 5 25
get_product_files()
S
53 5 22
add_product_taxonomy()
S
53 5 22
get_taxonomy_parent_select_box()
S
55 5 18
get_product_data()
S
56 5 18
get_product_by_ids()
S
57 5 16
untrash_products()
S
60 5 12
sort_by_column()
S
54 4 20
get_attribute_values_for_delete()
S
55 4 18
get_attribute_values()
S
55 4 18
get_attribute_values_for_attach()
S
55 4 18
create_new_product()
S
61 4 12
load_filter_profile()
S
53 3 23
save_filter_preset()
S
55 3 19
get_product_gallery_images()
S
58 3 15
products_filter()
S
58 3 14
delete_filter_profile()
S
61 3 13
empty_trash()
S
60 3 13
__construct()
S
45 1 40
change_count_per_page()
S
62 2 12
add_new_file_item()
S
61 2 11
register_callback()
S
72 2 6
filter_profile_change_use_always()
S
65 2 9
make_response()
S
74 2 4
get_default_filter_profile_products()
S
61 1 12
clear_filter_data()
S
69 1 7